package com.lala.commom.remote;

import com.github.pagehelper.PageInfo;
import com.lala.commom.pojo.Courseplan;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface CourseplanRemote {
    @RequestMapping("/chaCp")
    List<Courseplan> chaCp(@RequestParam("id") int id);
    @RequestMapping("/chaAll")
    PageInfo<Courseplan> chaAll(@RequestParam("p") int p, @RequestParam("s") int s,@RequestParam("c")int c,@RequestParam("g")int g);
    @RequestMapping("/chabyId")
    List<Courseplan> chabyI(@RequestParam("id") int id);
}
